package com.lzh.persevere.model.ro.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author luzhiheng
 * @since 2025-07-12
 */
@Data
@ApiModel(value = "更新密码")
public class UpdatePasswordRO {

    @NotEmpty(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码")
    private String password;

    @NotEmpty(message = "确认密码不能为空")
    @ApiModelProperty(value = "确认密码")
    private String confirmPassword;
}
